package com.xia.service;

import com.xia.pojo.Book;
import com.xia.utils.PageBean;

import java.util.Map;

public interface BookService {

    PageBean<Book> queryByPage(Map<String, Object> map);

    Book queryById(Integer bookId);

    void updateBookInfo(Book book);

    void delBookById(Integer bookId);

    void addBook(Book book);
}
